{% extends 'base.html' %}

{% block title %}更新作业提交{% endblock %}

{% block content %}
<div class="container mt-4">
    <h2>更新作业提交</h2>
    <form method="post" enctype="multipart/form-data">
        {% csrf_token %}
        {{ form.as_p }}
        <button type="submit" class="btn btn-primary">保存更改</button>
        <a href="{% url 'core:homework_submission_list' %}" class="btn btn-secondary">取消</a>
    </form>
</div>
{% endblock %}
